execute as @e[type=zombie, tag=rmr.rotten_pillager_captain] at @s run function rmr:entity/rotten_pillager_captain/ai
function rmr:entity/rotten_pillager_captain/tick_bossbar